package com.ibm.csorb.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ibm.csorb.entity.CsBucket;
import com.ibm.csorb.service.CsBucketService;

@Controller
public class CsBucketController {

	@Autowired
	CsBucketService csBuckerService;

	@RequestMapping(value = "/addCsBucket.do")
	public String addCsBucket(CsBucket csBucket) {
		System.out.println("in bucket controller....");
		csBuckerService.add(csBucket);
		return "addCsBucket";
	}

}
